package cn.edu.wtbu.wtbu_music_server.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 
 * @TableName list
 */
@Schema(description = "歌单对象")
@TableName(value ="list")
@Data
public class List implements Serializable {
    /**
     * 歌单id
     */
    @Schema(description = "歌单id",example = "1")
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 歌单名
     */
    @Schema(description = "歌单名",example = "华语")
    private String name;

    /**
     * 封面图
     */
    @Schema(description = "封面图",example = "http://localhost:8080/img/list/1.jpg")
    private String img;

    /**
     * 标签
     */
    @Schema(description = "标签",example = "嘻哈,情感,摇滚")
    private String tags;

    /**
     * 播放量
     */
    @Schema(description = "播放量",example = "100")
    private Long playcount;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}